home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / qenter.z / qenter
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. qqqqeeeennnntttteeeerrrr((((3333GGGG))))                                                          qqqqeeeennnntttteeeerrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      qqqqeeeennnntttteeeerrrr - creates an event queue entry
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee qqqqeeeennnntttteeeerrrr((((ddddeeeevvvv,,,, vvvvaaaallll))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 ddddeeeevvvv,,,, vvvvaaaallll
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _d_e_v   expects the device number to be entered into the event queue.
  17.  
  18.      _v_a_l   expects the value to be entered into the event queue.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      qqqqeeeennnntttteeeerrrr takes a 16-bit device number and 16-bit a value and enters them
  22.      into the event queue of the calling process.  There is no way to
  23.      distinguish user-generated and system-generated events except by device
  24.      number.
  25.  
  26.      The 16-bit device number name space is partitioned as follows:
  27.  
  28.           $0000 -> $0FFF     Devices defined by SGI
  29.               $0001 -> $00FF     Buttons
  30.               $0100 -> $01FF     Valuators
  31.               $0200 -> $02FF     Pseudo devices
  32.               $0300 -> $0EFF     Reserved
  33.               $0F00 -> $0FFF     Additional buttons
  34.  
  35.           $1000 -> $7FFF     Devices defined by users
  36.               $1000 -> $2FFF     Buttons
  37.               $3000 -> $3FFF     Valuators
  38.               $4000 -> $7FFF     Pseudo devices
  39.  
  40.           $8000 -> $FFFF     Can not be used
  41.  
  42. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.      qcontr, qread, qreset, qtest
  44.  
  45. NNNNOOOOTTTTEEEE
  46.      This routine is available only in immediate mode.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.